﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site1.Master" AutoEventWireup="true" CodeBehind="CustomerProfile.aspx.cs" Inherits="RBOSS.WebUI.CustomerProfile" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <table>
        <tr>
            <td>First Name : <asp:Label ID="lblFirstName" runat="server" Text="First Name"></asp:Label></td>
            </tr>
        <tr>
            <td>Last Name : <asp:Label ID="lblLastName" runat="server" Text="Last Name"></asp:Label></td>
        </tr>
        <tr>            
            <td>Email : <asp:Label ID="lblEmail" runat="server" Text="Email"></asp:Label></td>
            </tr>
            <tr><td>Phone Number : <asp:Label ID="lblPhoneNumber"  runat="server" Text="Phone Number"></asp:Label></td>
            <tr><td>City : <asp:Label ID="lblCity" runat="server" Text="City"></asp:Label></td></tr>
            <tr><td>Provience : <asp:Label ID="lblProvience" runat="server" Text="Provience"></asp:Label></td></tr>
            <tr><td>Country : <asp:Label ID="lblCountry" runat="server" Text="Country"></asp:Label></td></tr>
            <tr><td>Postal Code : <asp:Label ID="lblPostalCode" runat="server" Text="Postal Code"></asp:Label></td>
        </tr>
    </table>
    
    <br />
    <asp:LinkButton runat="server" ID="lnkBtnAddCreditCard" PostBackUrl="AddCreditCard.aspx" Text="Add Credit Card"></asp:LinkButton>
    <br />
    <div>
        Your Credit Card Information
    </div>
    <div>
        <asp:GridView runat="server" ID="gvCreditCards" DataKeyNames="CreditCardId" AutoGenerateColumns="False" CellPadding="4" ForeColor="Black" GridLines="Vertical" Width="569px" BackColor="White" BorderColor="#DEDFDE" BorderStyle="None" BorderWidth="1px">
        <AlternatingRowStyle BackColor="White" />
        <Columns>
        <asp:BoundField HeaderText="Card Number" DataField="CreditCardNumber" />
        <%--<asp:BoundField HeaderText="Name" DataField="NameOnCard" />--%>
        <asp:BoundField HeaderText="Address1" DataField="Address1" />
        <asp:BoundField HeaderText="Address2" DataField="Address2" />
    
        <asp:BoundField HeaderText="City" DataField="City" />
        <asp:BoundField HeaderText="State" DataField="State" />
        <asp:BoundField HeaderText="Zip" DataField="Zip" />
        <asp:BoundField HeaderText="Country" DataField="Country" />
            <asp:CommandField ShowSelectButton="True" SelectText="Remove" />
      </Columns>
        
            <FooterStyle BackColor="#CCCC99" />
            <HeaderStyle BackColor="#6B696B" Font-Bold="True" ForeColor="White" />
            <PagerStyle BackColor="#F7F7DE" ForeColor="Black" HorizontalAlign="Right" />
            <RowStyle BackColor="#F7F7DE" />
            <SelectedRowStyle BackColor="#CE5D5A" Font-Bold="True" ForeColor="White" />
            <SortedAscendingCellStyle BackColor="#FBFBF2" />
            <SortedAscendingHeaderStyle BackColor="#848384" />
            <SortedDescendingCellStyle BackColor="#EAEAD3" />
            <SortedDescendingHeaderStyle BackColor="#575357" />
        
    </asp:GridView>
    </div>
    <div>
        Your Order History!!!
    </div>
    <br />
    
    <asp:GridView runat="server" ID="gbOrderHistory" AutoGenerateColumns="False" CellPadding="4" ForeColor="Black" GridLines="Vertical" Width="574px" AllowPaging="True" BackColor="White" BorderColor="#DEDFDE" BorderStyle="None" BorderWidth="1px">
        <AlternatingRowStyle BackColor="White" />
        <Columns>
        <asp:BoundField HeaderText="Order Date" DataField="OrderDate" />
        <asp:BoundField HeaderText="Shipping Status" DataField="ShippingStatus" />
             <asp:HyperLinkField HeaderText="View Order Details" Text="View Order Details"
                  DataNavigateUrlFormatString="~/OrderDetails.aspx?OrderId={0}" DataNavigateUrlFields="OrderId" />
             <asp:HyperLinkField HeaderText="Invoice" Text="View Invoice"
                  DataNavigateUrlFormatString="~/ReportView.aspx?OrderId={0}&FormType=Invoice" DataNavigateUrlFields="OrderId"  Target="_blank"/>
             <asp:HyperLinkField HeaderText="Receipt" Text="View Receipt"
                  DataNavigateUrlFormatString="~/ReportView.aspx?OrderId={0}&FormType=Receipt" DataNavigateUrlFields="OrderId" Target="_blank" />
      </Columns>
        <FooterStyle BackColor="#CCCC99" />
        <HeaderStyle BackColor="#6B696B" Font-Bold="True" ForeColor="White" />
        <PagerStyle BackColor="#F7F7DE" ForeColor="Black" HorizontalAlign="Right" />
        <RowStyle BackColor="#F7F7DE" />
        <SelectedRowStyle BackColor="#CE5D5A" Font-Bold="True" ForeColor="White" />
        <SortedAscendingCellStyle BackColor="#FBFBF2" />
        <SortedAscendingHeaderStyle BackColor="#848384" />
        <SortedDescendingCellStyle BackColor="#EAEAD3" />
        <SortedDescendingHeaderStyle BackColor="#575357" />
    </asp:GridView>
</asp:Content>
 